package com.springboot.autoExcute;

import com.springboot.service.TjHisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class lisToEmr {

    @Autowired
    private TjHisService tjHisService;
//    @Scheduled(cron = "0 0/1 * * * ?")
//    public void sendTjJxzt(){
//        System.out.println("开始进行数据同步");
//        this.tjHisService.sendTjJxzt();
//    }
//
//    @Scheduled(cron = "0 0/1 * * * ?")
//    public void sendTjYytSfzt(){
//        System.out.println("开始进行数据同步");
//        this.tjHisService.sendTjYytSfzt();
//    }
//
//    @Scheduled(cron = "0 0/30 * * * ?")
//    public void queryAllxm(){
//        System.out.println("开始进行价格数据同步");
//        this.tjHisService.queryAllxm();
//    }

}
